package com.taxi.apiBoss.service;

import com.taxi.apiBoss.remote.ServiceDriverUserClient;
import com.taxi.common.dto.Car;
import com.taxi.common.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: ruomengjiang
 * @Date: 2022/8/19
 * @Description : com.taxi.apiBoss.service
 * @Version: 1.0
 */
@Service
public class CarService {

    @Autowired
    ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult addCar(Car car){
        return serviceDriverUserClient.addCar(car);
    }
}
